Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to the constraint matrix #459

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alxbilger
Copy link
Contributor

@alxbilger alxbilger commented Sep 24, 2024

mechanical_object = root.addObject("MechanicalObject", name="defoDOF", template="Vec3d")
root.addObject("EdgeSetGeometryAlgorithms", drawEdges=True)
root.addObject("FixedProjectiveConstraint", indices=[0])
root.addObject("DiagonalMass", name="mass", totalMass="1e-3")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
root.addObject("DiagonalMass", name="mass", totalMass="1e-3")
root.addObject("MeshMatrixMass", name="mass", totalMass="1e-3", lumping=True)

@fredroy
Copy link
Contributor

fredroy commented Oct 10, 2024

sofa-framework/sofa#5017 has been merged, waiting for the sofa nightlies to include it and re-launch the actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants